package com.ljx.itbbs.server.article.service;

import com.ljx.itbbs.common.domain.vo.resp.CursorResp;
import com.ljx.itbbs.common.domain.vo.resp.PageResp;
import com.ljx.itbbs.server.article.domain.vo.req.ArticleCommentReq;
import com.ljx.itbbs.server.article.domain.vo.req.CommentSaveReq;
import com.ljx.itbbs.server.article.domain.vo.resp.CommentResp;

import java.util.List;

public interface CommentService {


    void postComment(Long userId, CommentSaveReq req);

    void increaseReplyNum(Long pId);

    CursorResp<CommentResp> getArticleComment(ArticleCommentReq req);

    List<CommentResp> getNewComment();

    void likeComment(Long userId, Long commentId, Integer type);

    void increaseLikeNum(Long objId, Integer commentType);

    void reduceLikeNum(Long objId, Integer commentType);
}
